/*
 * Copyright (c) 2023, 2024,yzc.cn All rights reserved.
 *
 */
package com.by.common.bean;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>Project: erp-cloud-api - PageBean</p>
 * <p>Powered by yzc On 2024-01-08 17:06:27</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("分页返回结果类")
public class PageBean {
    @ApiModelProperty("当前第几页")
    private int page; //第几页

    @ApiModelProperty("每页显示记录数")
    private int pageSize; //每页显示记录数

    @ApiModelProperty("总记录数")
    private long total; //总记录数
    @ApiModelProperty("总页数")
    private int totalPage; //总页数

    @ApiModelProperty("分页结果")
    Object data; //分页结果
}
